package com.xiaomei.manager.dao;

import java.util.List;

import com.xiaomei.manager.model.DiscountAddress;
import com.xiaomei.manager.web.page.Page;

public interface DiscountAddressMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DiscountAddress record);

    int insertSelective(DiscountAddress record);

    DiscountAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DiscountAddress record);

    int updateByPrimaryKey(DiscountAddress record);
    
    Integer selectMaxId();
    /**
     * 
     * 根据请求参数map查询优惠地址发布信息
	 * @param paramMap 请求参数map
	 * @return 活动发布数据集
     */
    List<DiscountAddress> selectByParamMap(Page<DiscountAddress> page);
}